from modules.driver.cm19aDriver import *
import modules.driver.dvars 

global cm19a

#Main
# Run this module standone to do these simple tests
if __name__ == '__main__':
#print __doc__
	print "\nConfiguring..."
	cm19a = configure()
	
	if cm19a.initialised:		
		while(1):
			
			x = raw_input("Enter a command")
			if x == 'q':
				break
			message = x.split(" ", 3)
			result = cm19a.send(message[0], message[1], message[2])	       
		cm19a = tidyUp(cm19a)


# End of module
